﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using AvalonDock;

namespace LuanVanProject
{
    /// <summary>
    /// Interaction logic for MindMapButton.xaml
    /// </summary>
    public partial class MindMapButton : UserControl
    {
        string tittle;
        ImageSource buttonImageSource;

        public ImageSource ButtonImageSource
        {
            set { imgIcon.Source = value; }
        }

        public string Tittle
        {
            get { return lblName.Content as string; }
            set { lblName.Content = value;
            
            }
        }
        string filepath;

        public string Filepath
        {
            get { return filepath; }
            set { filepath = value; }
        }
        DocumentContent doc;

        public DocumentContent Doc
        {
            get { return doc; }
            set { doc = value; }
        }
        public MindMapButton()
        {
            InitializeComponent();
        }

        private void btnMindmap_MouseEnter(object sender, MouseEventArgs e)
        {
            myGrid.Background = Brushes.LightCyan;

        }

        private void btnMindmap_MouseLeave(object sender, MouseEventArgs e)
        {
            myGrid.Background = Brushes.White;
 
        }
    }
}
